package com.maxmlr.music.common.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName SortParam
 * @Description TODO
 * @Author maxiao
 * @Date 2020/6/14 下午9:26
 * @Version V1.0
 */
@Data
@ApiModel("排序参数")
public class SortParam implements Serializable {

    @ApiModelProperty(value = "排序字段", name = "column", example = "", position = 1)
    private String column;

    @ApiModelProperty(value = "是否正序", name = "asc", example = "true", position = 2)
    private boolean asc = true;
}
